package cn.wx.common.persistence.base;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import java.util.List;
import java.util.Map;

/**
 *   @description : mapper 基类
 *   ---------------------------------
 *   @author zj
 *   @since 2017-10-27
 */
public interface SimpleMapper<T extends BaseEntity> extends BaseMapper<T> {

	/**
	 * 分页通用
	 * */
	List<T> queryList(Pagination page, Map<String, Object> map);
	List<T> queryList(Map<String, Object> map);
	void insertBatch(T t);
}
